package com.hrm.domain;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

/*
 * 公告实体类
 */
public class Notice {

	private Integer noticeID; // 公告ID
	private String title;// 公告标题
	private String content; // 公告内容
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date noticeCreateDate; // 公告发布时间
	private Integer nUserID; // 发布公告的用户ID

	public Integer getNoticeID() {
		return noticeID;
	}

	public void setNoticeID(Integer noticeID) {
		this.noticeID = noticeID;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getNoticeCreateDate() {
		return noticeCreateDate;
	}

	public void setNoticeCreateDate(Date noticeCreateDate) {
		this.noticeCreateDate = noticeCreateDate;
	}

	public Integer getnUserID() {
		return nUserID;
	}

	public void setnUserID(Integer nUserID) {
		this.nUserID = nUserID;
	}

	public Notice() {
	}

	// 用于公告添加
	public Notice(String title, String content, Integer nUserID) {
		this.title = title;
		this.content = content;
		this.nUserID = nUserID;
	}

	public Notice(Integer noticeID, String title, String content, Date noticeCreateDate, Integer nUserID) {
		this.noticeID = noticeID;
		this.title = title;
		this.content = content;
		this.noticeCreateDate = noticeCreateDate;
		this.nUserID = nUserID;
	}

}
